﻿
using System.Collections.Generic;

namespace Gx.Model.Entity
{
    public partial class C_AreaInfo
    {
        private int _areaid;
        private string _areaname;
        private int _sort;
        private int _parentid;
        public int AreaId
        {
            get
            {
                return _areaid;
            }
            set { _areaid = value; }
        }
        public string AreaName
        {
            get
            {
                if (_areaname == null)
                {
                    return "";
                }
                return _areaname;
            }
            set { _areaname = value; }
        }
        public int Sort
        {
            get
            {
                return _sort;
            }
            set { _sort = value; }
        }
        public int ParentId
        {
            get
            {
                return _parentid;
            }
            set { _parentid = value; }
        }
    }

    public partial class C_AreaInfo
    {
        public List<C_AreaInfo> children { get; set; }
        public string state { get; set; }

        public string ParentName { get; set; }
    }
}
